import 'package:animated_tree_view/animated_tree_view.dart';
import 'package:get/get.dart';

import 'state.dart';

class CheckManageLogic extends GetxController
    with GetSingleTickerProviderStateMixin {
  final CheckManageState state = CheckManageState();

  TreeNode sampleTree = TreeNode(key: "生物圈")
    ..add(TreeNode(key: "动物界")
      ..add(TreeNode(key: "门")
        ..add(TreeNode(key: "纲")
          ..add(TreeNode(key: "目")
            ..add(TreeNode(key: "科")
              ..add(TreeNode(key: "属")..add(TreeNode(key: "种"))))))))
    ..add(TreeNode(key: "植物界")
      ..add(TreeNode(key: "门1")
        ..add(TreeNode(key: "纲1")
          ..add(TreeNode(key: "目1")
            ..add(TreeNode(key: "科1")
              ..add(TreeNode(key: "属1")..add(TreeNode(key: "种1"))))))));
  @override
  void onInit() {
    super.onInit();
  }
}
